package com.alan.weather.service;

import com.alan.weather.common.responseResult.R;
import com.alan.weather.entity.Employee;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;


/**
 * 员工信息(Employee)表服务接口
 *
 * @author makejava
 * @since 2022-12-25 15:33:22
 */
public interface EmployeeService extends IService<Employee> {

    R login(Employee employee, HttpServletRequest request);

    R addEmployee(Employee employee,HttpServletRequest request);

    R<Page> listEmp(int page, int pageSize, String userName);

    R updateStatus(Employee employee,HttpServletRequest request);
}

